/*
 * All content copyright http://www.j2eefast.com, unless 
 * otherwise indicated. All rights reserved.
 * No deletion without permission
 */
package com.j2eefast.produce.pms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.j2eefast.framework.sys.entity.SysUserEntity;
import com.j2eefast.produce.pms.entity.PmsChargeStandardListEntity;
import com.j2eefast.produce.pms.entity.PmsProjectEntity;
import com.j2eefast.produce.pms.entity.PmsTestProjectEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>检测项目分类列表</p>
 *
 * @author: summer
 * @date: 2021-05-29 16:47
 * @web: http://www.letukeji.cn
 * @version: 1.0.1
 */
public interface PmsTestProjectMapper extends BaseMapper<PmsTestProjectEntity> {

	public boolean deleteByIds(@Param("ids") Long[] ids);
	public boolean updateCheck(@Param("id") Long id, @Param("userId") Long userId);
	//查询列表
	public PmsTestProjectEntity selectTestProject();

	/**
	 * 根据分类查询项目列表
	 * @return
	 */
	public  List<PmsTestProjectEntity> getsProjectList(@Param("standardName")String standardName);

	/**
	 * 页面查询流程实例分页
	 * @return
	 */
	Page<PmsTestProjectEntity> findPage(IPage<?> params,
                                         @Param("testType") String testType,
                                         @Param("name") String name,
										 @Param("classifyId") String classifyId,
										@Param("testCode") String testCode,
										@Param("testCode2") String testCode2,
										@Param("testType2") String testType2,
										@Param("name2") String name2,
                                    @Param("sql_filter") String sql_filter);

	List<PmsTestProjectEntity> findList(IPage<?> params,
										@Param("testType") String testType,
										@Param("name") String name,
										@Param("classifyId") String classifyId,
										@Param("sql_filter") String sql_filter);


}
